laravel foreach else

56

laravel foreach else -

@forelse($status->replies as $reply)
    <p>{{ $reply->body }}</p>
@empty
    <p>No replies</p>
@endforelse

Comments

Submit
0 Comments